package cn.pinming.chyn.tools.test;

import cn.pinming.chyn.tools.annotations.ValidateField;
import lombok.Data;

@Data
public class EntityA {

	private String fieldA1 ;
	
	@ValidateField( length = 11 , regexPattern = "\\d{2}-\\d{3}-\\d{4}")
	private String fieldA2 ;
	
	@ValidateField( minLength = 3 , maxLength = 10 )
	private String fieldA3 ;
	
	@ValidateField( min = 0 , max = 50 )
	private Integer fieldA4 ;
	
	@ValidateField( min = 0 , max = 50 )
	private Long fieldA5 ;
}
